ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 10 - No. 1)

What is the primary function of a selection statement (like IF...THEN...ELSE)?
To perform arithmetic calculations.
To execute a block of code repeatedly.
To choose which code block to execute based on a condition.
To define variables.

Giải thích

Selection statements enable the program to choose which code block to execute based on the given conditions.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc